![]() |
PATH![]() |
![]() ![]() |
Continuously plays a theme-specific sound associated with the user's movement of a given interface object.
pascal OSStatus BeginThemeDragSound (
ThemeDragSoundKind kind);
The Appearance Manager automatically plays drag sounds for standard user interface elements and for Drag Manager drag actions. Your application may call BeginThemeDragSound , typically upon detecting a drag initiation, to play a drag sound for a custom element. BeginThemeDragSound plays the specified sound in a continuous loop until your application calls the function EndThemeDragSound , typically upon receiving a mouse-up event.
Note that the BeginThemeDragSound function automatically tracks the current mouse position and handles any panning or variations in pitch for the sound.